package com.example.demo.service.permissionservice.Impl;

import com.example.demo.entity.permission.TPermission;
import com.example.demo.dao.permission.TPermissionMapper;
import com.example.demo.service.permissionservice.ITPermissionService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.Set;


@Service
public class TPermissionServiceImpl extends ServiceImpl<TPermissionMapper, TPermission> implements ITPermissionService {

    @Override
    public Set<String> getPermissionsByUserName(String username) {

        return this.baseMapper.getPermissionsByUserName(username);
    }
}
